﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:gd="clr-namespace:WickedFlame.GenDock">

    <!--<ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="/GenDock;component/Resources/Brushes.xaml"/>
        <ResourceDictionary Source="/GenDock;component/Resources/Common.xaml"/>
    </ResourceDictionary.MergedDictionaries>-->

    <!--PropertiesDisplay-->
    <Style TargetType="{x:Type gd:ContentDocument}">
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type gd:ContentDocument}">
                    <Border 
                        Background="{TemplateBinding Background}"><!--{DynamicResource {ComponentResourceKey {x:Type gd:DockingLayoutManager}, {x:Static gd:GenDockBrushes.ContentBackgroundBrush}}}-->
                        <ContentPresenter
							x:Name="PART_ContentPresenter"
                            Margin="{TemplateBinding Padding}"
                            SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
                            />

                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    
</ResourceDictionary>